package com.cqhfan.authservice.service;

import com.cqhfan.core.domain.dto.UserAuthDTO;
import com.cqhfan.pojo.user.vo.UserLoginVO;

import java.util.Map;

/**
 * @author 眭传洪
 * @create 2025-07-26 0:00
 */
public interface TokenService {

    String createAccessToken(Map<String, Object> map);

    String createRefreshToken(Map<String, Object> map, UserAuthDTO loginAuthBody);

    UserLoginVO refreshToken(String refreshToken);

    Long getAccessTokenTTL();

}
